//
//  PersonalViewController.swift
//  Swift-30-demo
//
//  Created by apple on 2021/11/22.
//

import UIKit

class PersonalViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.navigationItem.title = "关于我们"
        // Do any additional setup after loading the view.
        self.view.backgroundColor = UIColor.white
        
        let aboutLabel = UILabel()
        aboutLabel.text = "特别声明：\n\n本项目仅适用于swift学习\n\n联系方式：shao134624@163.com"
        aboutLabel.textAlignment = .center
        aboutLabel.font = UIFont(name: "Hiragino Sans", size: 20)
        aboutLabel.numberOfLines = 0
        self.view.addSubview(aboutLabel)
        aboutLabel.snp.makeConstraints { make in
            make.top.equalTo(navgationHeight)
            make.leading.equalTo(self.view)
            make.trailing.equalTo(self.view)
            make.bottom.equalTo(-tabBarHeight)
        }
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
